package com.youshang520i.consuldiscoveryprovider.service.impl;

import com.youshang520i.consuldiscoveryprovider.mapper.GoodsMapper;
import com.youshang520i.consuldiscoveryprovider.model.Goods;
import com.youshang520i.consuldiscoveryprovider.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author youshang
 */
@Service
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    GoodsMapper goodsMapper;


    @Override
    public List<Goods> selectGoodsList(){
        return goodsMapper.selectGoodsList();
    }

}
